package com.ruoyi.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;

/**
 * 认证授权中心
 -javaagent:D:/work/DevelopUtils/skywalking/skywalking-agent/skywalking-agent.jar
 -Dserver.port=9200
 -Dskywalking.agent.service_name=RuoYiAuthApplication
 -Dskywalking.agent.sample_n_per_3_secs=2
 -Dskywalking.plugin.jdbc.trace_sql_parameters=true
 -Dskywalking.plugin.jdbc.sql_parameters_max_length=100
 * @author ruoyi
 */
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class CherryAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(CherryAuthApplication.class, args);
        System.out.println("认证授权中心启动成功！" + "\n" +
                "   __.--~~.,-.__\n" +
                "   `~-._.-(`-.__`-.\n" +
                "           \\    `~~`\n" +
                "      .--./ \\\n" +
                "     /#   \\  \\.--.\n" +
                "     \\    /  /#   \\\n" +
                "      '--'   \\    /\n" +
                "              '--'");
    }
}
